home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _AA8ED9036C0F4E5C9E3BF50BE8E68ADD < prev    next >
Encoding:
Text File  |  2004-01-06  |  1.1 KB  |  36 lines

  1. ; Shaders Script file
  2. ; Copyright (c) 2001-2003 Crytek Studios. All Rights Reserved.
  3. ; Author: Honich Andrey
  4.  
  5. Version (1.00)
  6.  
  7. //========================================================================
  8. // ATI R2xx / NVidia NV2X (PS.1.X and above)
  9.  
  10. // Specular (masked by gloss map in alpha channel of diffuse texture) and diffuse bump-mapping
  11. // At least three passes on NVidia NV1X for single-multiple light sources
  12. // One pass on ATI R3XX and NVidia NV3X for single light source (one pass for each additional LS)
  13. // One pass for single directional light source on any hardware
  14.  
  15. // Supports:
  16. // 1. Dot3 light maps
  17. // 2. Simple light maps
  18. // 3. Three types of shadow maps (2D, Depth-maps and mixed Depth/2D)
  19. // 4. Stencil shadows
  20. // 5. Three types of light sources (Directional, Point/Omni, Projected)
  21. // 6. Optimised separate techniques for Single/Multiple light sources
  22. // 7. Optimised separate techniques for PS.2.0 shaders support (to reduce number of passes)
  23. // 8. Env. real-time radiosity
  24.  
  25. Shader 'TemplBumpSpec_GlossAlpha'
  26. (
  27.   Params
  28.   (
  29.     Sort = Opaque
  30.   )
  31.   
  32.   #include "BumpSpecular_GlossAlpha.csi"    
  33. )
  34.  
  35.  
  36.